package com.ctg.payroll2.service.cusadmin.impl;
import java.sql.SQLException;

import com.ctg.payroll2.bean.po.PbUserAccount;
import com.ctg.payroll2.dao.cusadmin.PbUserAccountDAO;
import com.ctg.payroll2.service.cusadmin.PbUserAccountService;

public class PbUserAccountServiceImpl implements PbUserAccountService {

	public PbUserAccountDAO getPbUserAccountDao() {
		return pbUserAccountDao;
	}
	public void setPbUserAccountDao(PbUserAccountDAO pbUserAccountDao) {
		this.pbUserAccountDao = pbUserAccountDao;
	}
	private PbUserAccountDAO pbUserAccountDao;
	public void insertPbUserAccount(PbUserAccount pbAccount)
			throws SQLException {
		
		if(pbUserAccountDao==null){
//			System.out.println("dao is null");
		}
		try{
			pbUserAccountDao.insert(pbAccount);
		}catch (Exception e) {
			e.printStackTrace();
		}
	

	}

}
